import React,{Component} from 'react';
import './systemCard.scss';
import {
  Link
} from 'react-router-dom';
export default class SystemCard extends Component{
	render(){
		return(
			<div className="systemCard">
				<div>
					<p>{this.props.systemInfo.title}</p>
					<p>{this.props.systemInfo.content}</p>
				</div>
				<p className="system_bottom">来自系统公告</p>
				<Link to={
					{
            pathname: '/user/message/systemInfo',
            state:{
              id: this.props.systemInfo.id
            }
          }
				}><span>查看<i className="glyphicon glyphicon-right"></i></span>
				</Link>
			</div>
		)
	}
}